import request from '@/utils/request';
import moment from 'moment'

export async function query({...resetParams}) {
  return request(`/accounts/${resetParams.account_id}/billings`,{
    method:'GET',
    params:{
      start_date:`${resetParams.year}-01-01`,
      end_date:`${resetParams.year}-12-31`,
    }
  });
}

